package com.eco.fanliapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;


/**
 * 角色表 role_info
 * 
 * @author xiaoxx
 * @date 2019-05-20
 */
@Getter
@Setter
@Data
@TableName("role_info")//@TableName中的值对应着表名
public class RoleInfo implements Serializable
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**  */
	private String roleName;
	/**  */
	private Integer userId;
}
